package com.lj.graduate.service.impl;

import com.lj.graduate.controller.dto.ReleaseDetailDTO;
import com.lj.graduate.entity.ReleaseDetail;
import com.lj.graduate.mapper.ReleaseDetailMapper;
import com.lj.graduate.service.IReleaseDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ljy
 * @since 2023-03-24
 */
@Service
public class ReleaseDetailServiceImpl extends ServiceImpl<ReleaseDetailMapper, ReleaseDetail> implements IReleaseDetailService {
    @Autowired
    private ReleaseDetailMapper releaseDetailMapper;

    @Override
    public List<ReleaseDetailDTO> selecetPage(Integer pageNum, Integer pageSize){
        List<ReleaseDetailDTO> data = releaseDetailMapper.selectPage(pageNum,pageSize);
        return data;
    }
}
